<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@page import="javax.jdo.PersistenceManager"%>
<%@page import="java.util.List"%>
<%@page import="com.google.appengine.api.datastore.Text"%>
<%@page import="java.util.Date"%>

<%@page import="com.appengine.news.ui.controller.RendererController"%>
<%@page import="com.appengine.news.ui.model.RendererModel"%><html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>RSS news</title>
	</head>
	<body>		
		<%
					final RendererController controller = new RendererController(request);
					controller.doJob();
					final List<RendererModel> models = controller.getModels();
					for(RendererModel model: models)
					{
		%>
		<h1><%=model.getTitle()%></h1>
		<h3><%=model.getAuthor()%></h3>
		<h3><%=model.getModified()%></h3>
		<p><%=model.getSummury()%></p>
		<%
			if (model.getLink() != null) {
		%>
		<p><a href="<%=model.getLink()%>"><%=model.getLink()%></a></p>
		<%
			}
	}
		%>		
	</body>
</html>
<%@page import="com.appengine.news.Constants"%>
<%@page import="com.appengine.news.utils.PMF"%>
<%@page import="com.appengine.news.entity.RssItemEntity"%>
<%@page import="com.appengine.news.utils.HTMLSanitiser"%>
<%@page import="com.appengine.news.ui.controller.ReadController"%>
<%@page import="com.appengine.news.ui.model.ReadModel"%>